/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.risk.hid.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hopes.boss.common.entity.BaseLogicEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * ${tableComment}
 *
 * @author pig
 * @date 2023-07-19 10:36:08
 */
@Data
@TableName("risk_hid_hidden_danger_delay")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "隐患延期")
public class RiskHidHiddenDangerDelayEntity extends BaseLogicEntity {

    private static final long serialVersionUID = 1L;


	/**
	* 标识
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="标识")
    private Long id;

	/**
	* 隐患标识
	*/
    @Schema(description="隐患标识")
    private Long hiddenDangerId;

	/**
	* 隐患名称
	*/
    @Schema(description="隐患名称")
    private String hiddenDangerName;

	/**
	* 延期前日期
	*/
    @Schema(description="延期前日期")
    private Date delayBeforeDate;

	/**
	* 延期日期
	*/
    @Schema(description="延期日期")
    private Date delayDate;

	/**
	* 申请人
	*/
    @Schema(description="申请人")
    private Long applyUserId;

	/**
	* 申请时间
	*/
    @Schema(description="申请时间")
    private Date applyTime;

	/**
	* 申请描述
	*/
    @Schema(description="申请描述")
    private String applyDesc;

	/**
	* 申请附件
	*/
    @Schema(description="申请附件")
    private String applyFile;

	/**
	* 处理人
	*/
    @Schema(description="处理人")
    private String handleUserId;

	/**
	* 处理时间
	*/
    @Schema(description="处理时间")
    private Date handleTime;

	/**
	* 处理描述
	*/
    @Schema(description="处理描述")
	@NotBlank(message = "处理描述不能为空")
    private String handleDesc;

	/**
	* 状态,已申请：0，已处理：1
	*/
    @Schema(description="状态,已申请：0，已处理：1")
    private Integer handleStatus;

	/**
	* 处理结果
	*/
    @Schema(description="处理结果")
	@NotNull(message = "处理结果不能为空")
    private Integer handleResult;

	/**
	* 机构ID
	*/
    @Schema(description="机构ID")
    private Long orgId;

}
